@charset 'utf-8';
html *, html *:before, html *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html,body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;
}
a {
    text-decoration: none;
}
a:hover {
    color: #cc0000;
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1; /*IE/7/6*/
}
.hide{
    display: none!important;
}
.left{
    float: left!important;
}
.right{
    float: right!important;
}
.red {
    color: #c00;
}
.error {
    border: 1px solid #c00!important;
}
.edit-header {
    position: fixed;
    width: 100%;
    height: 50px;
    background: #272822;
    top: 0;
    left: 0;
    padding: 8px 15px 2px;
}
.edit-header a{
    display: block;
    font-size: 16px;
    min-width: 40px;
    line-height: 40px;
    text-align: center;
    color: #F8BB39;
}
.edit-body {
    width: 100%;
    height: 100%;
    padding-top: 50px;
}
.cate-section {
    position: fixed;
    top: 50px;
    left: -280px;
    bottom: 0;
    width: 280px;
}
.toggleCate.edit-body {
    padding-left: 280px;
}
.toggleCate .cate-section {
    left: 0;
}
.editor {
    width: 100%;
    height: 100%;
}
/*cate module.*/
.catep {
    width: 100%;
    height: 100%;
    padding-bottom: 100px;
    font-size: 14px;
    color: #364149;
    background: #FAFAFA;
    overflow-y: auto;
}
::-webkit-scrollbar{width:8px;}
::-webkit-scrollbar-track{background-color:#E6E6E6;}
::-webkit-scrollbar-thumb{background-color:#A2A2A2;}
::-webkit-scrollbar-thumb:hover {background-color:#8C8C8C}
.catep_title {
    margin-top: 12px;
    margin-bottom: 7px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.catep_title a {
    display: block;
    padding: 10px 0 17px 15px;
    color: #364149;
    font-weight: 600;
    background: transparent;
    white-space: nowrap;
    position: relative;
    line-height: 19px;
}
.catep_title span {
    position: fixed;
    top: 63px;
    font-size: 20px;
    padding: 8px;
}
.catep_title span:hover {
    color: #cc0000;
    cursor: pointer;
}
.catep_title .fa-repeat {
    left: 12px;
}
.catep_title .fa-undo {
    left: 234px;
}
.catep_box ul {
    margin: 0;
    padding-left: 15px;
}
.catep_box li {
    list-style: none;
}
.catep_box>li {
    padding-left: 15px;
}
.catep_box li a {
    display: block;
    position: relative;
    padding-top: 10px;
    margin-bottom: 10px;
    height: 29px;
    color: inherit;
    line-height: 19px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catep_box li a:hover {
    color: #008cff;
}
.catep_box .act {
    color: #008cff;
}
.catep_box span {
    display: block;
    position: absolute;
    top: 5px;
    width: 28px;
    height: 19px;
    line-height: 19px;
    text-align: center;
    color: #ccc;
    border-radius: 4px;
}
.catep_box span:hover {
    cursor: pointer;
    background: #ccc;
    color: #fff;
}
.catep_box .addBtn{
    right: 5px;
}
.catep_box .deleteBtn{
    right: 25px;
}
.catep_box .resetBtn{
    right: 45px;
}
.catep_btn {
    display: block;
    width: 88%;
    height: 40px;
    color: #000;
    border-radius: 4px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    margin: 15px auto 0;
    border: 1px solid #ccc;
}
.catep_btn.special_btn {
    margin-bottom: 30px;
}
.cate_editing .cate_mark {
    font-weight: 400;
}
.catep_box ul input{
    width:100%;
    height:35px;
    color:rgba(0,0,0,0.6);
    border: 1px solid #d0d6d9;
    padding:6px;
    border-radius:4px;
    outline: none;
    font-size: 14px;
}
.catep_box ul input:focus{
    border-color:#7bd089;
}
body.dragging, body.dragging * {
    cursor: move;
}
.catep_box .cate_editing li.dragged {
    opacity: 0.5;
    z-index: 2000;
    background: #ccc;
    color:#000;
}
.catep_box .cate_editing li.placeholder{
    position: relative;
    width:100%;
    height:0;
    border-bottom:1px solid red;
}
.catep_box .cate_editing li.placeholder:before{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    margin-top: -5px;
    left: -5px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: red;
    border-right: none;
}
.load{
    position:absolute;
    background: #ccc;
    width:100%;
    height: 100%;
    top:0;
    left: 0;
    opacity: 1;
}
.load_img{
    position:absolute;
    top:50%;
    left:50%;
    width: 46px;
    height: 46px;
    margin:-23px 0 0 -23px;
}
/*modal unit.*/
.modal{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    background: #272822;
    opacity:0;
    overflow-y: auto;
    transition:opacity 1s;
    -moz-transition:opacity 1s; /* Firefox 4 */
    -webkit-transition:opacity 1s; /* Safari and Chrome */
    -o-transition:opacity 1s; /* Opera */
}
.modal-show {
    opacity: 1;
}
.modal .modal-container{
    width:80%;
    max-width: 800px;
    margin:9% auto 5%;
}
.modal .modal-content{
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    transition:transform 1s;
    -moz-transition:transform 1s; /* Firefox 4 */
    -webkit-transition:transform 1s; /* Safari and Chrome */
    -o-transition:transform 1s; /* Opera */
}
.modal.in .modal-content{
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16px;
}
.modal .modal-header .modal-close {
    margin-top: -2px;
    cursor: pointer;
    background: none;
    border: 0;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
}
.modal .modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal .modal-body {
    position: relative;
    padding: 15px;
}
.modal .modal-body p.edit-tip{
    text-align: right;
    font-size: 12px;
    color:#333;
    margin:17px 0 0;
}
.modal textarea {
    display: block;
    width: 100%;
    height: 227px;
    resize: none;
    border: 1px solid #d0d6d9;
    border-radius: 4px;
    color: #444;
    padding: 7px 7px 27px;
    line-height: 1.6;
    letter-spacing: .6px;
    font-size: 14px;
    outline: none;
}
.modal textarea:focus {
    border-color: #7bd089;
}
.modal .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.modal .modal-footer button {
    margin-left: 5px;
    margin-bottom: 0;
}
.modal .modal-footer button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #CCC;
    border-radius: 4px;
    text-shadow: 0 1px 0 #FFF;
    color: #333;
    background: #FFF;
}
.modal .modal-footer .modal-save {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.modal .modal-footer button:hover {
    background-position: 0px -15px;
}
.modal .modal-footer button.modal-no:hover{
    background-color: #E0E0E0;
}
.modal .modal-footer button.modal-save:hover{
    background-color: #265A88;
}

.editormd-menu {
    text-align: center;
}
.editormd-menu>li:first-child {
    float: left;
}

.cateContainer ul a.add-btn2{
    display: block;
    padding-top: 10px;
    margin-bottom: 10px;
    color: #ccc;
    line-height: 19px;
}
.cateContainer ul input{
    display: block;
    width:100%;
    height:35px;
    color:rgba(0,0,0,0.6);
    border: 1px solid #d0d6d9;
    padding:6px;
    border-radius:4px;
    outline: none;
}
.cateContainer ul input:focus{
    border-color:#7bd089;
}
body.dragging, body.dragging * {
    cursor: move;
}
.cateContainer ul.book-summary li.dragged {
    opacity: 0.5;
    z-index: 2000;
    background: #ccc;
    color:#000;
}
.cateContainer ul.book-summary li.placeholder{
    position: relative;
    width:100%;
    height:0;
    border-bottom:1px solid red;
}
.cateContainer ul.book-summary li.placeholder:before{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    margin-top: -5px;
    left: -5px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: red;
    border-right: none;
}
.edit-container .edit-form{
    display:block;
    margin:0;
    height: 100%;
    overflow: hidden;
}
.edit-container .edit-form .edit-content{
    width:50%;
    height: 100%;
    padding:15px 5px 15px 10px;
    float: left;
    display: block;
    resize: none;
    color:#333;
    border:0;
    border-right: 1px solid rgba(0,0,0,0.07);
    outline:none;
    overflow-y: auto;
}
.edit-container .edit-form .edit-view{
    width: 50%;
    height: 100%;
    padding:10px 2% 10px 2%;
    float: right;
    display: block;
    background-color: #fff;
    overflow-y: auto;
}
.edit-container .edit-form .edit-view .wooo{
    margin-top:-18px;
}
/*提交BUG按钮*/
#bugBtn {
    display: block;
    position: fixed;
    top: 92px;
    right: -90px;
    width: 130px;
    background-color: #fff;
    border: 2px solid #ccc;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    line-height: 36px;
    padding-left: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: all 0.5s;
}
#bugBtn:hover {
    color: #f00;
    background-color: #ccc;
}
#bugBtn.bugMark {
    right: 0;
    border-color: #f00;
}
#bugBtn span {
    position: absolute;
    top: -2px;
    left: 0;
    font-size: 24px;
    width: 40px;
    height: 40px;
    color: #f00;
    line-height: 40px;
    text-align: center;
    z-index: 10;
    transition: all 0.5s;
}
#bugBtn.bugMark span {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}